xen/arm: p2m: apply_p2m_changes: Only load domain P2M when we flush TLBs
authorJulien Grall <julien.grall@linaro.org>
Tue, 22 Apr 2014 13:14:18 +0000 (14:14 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 2 May 2014 12:14:10 +0000 (13:14 +0100)
commitc93e9e412440e1acaace9a4c2ec2c3c2a55ba0af
treefa196a43bef3b91bb2923427d0b1899384091558
parent5f843276e38c1118448c76ff4d49714a2e29fc6c
xen/arm: p2m: apply_p2m_changes: Only load domain P2M when we flush TLBs

apply_p2m_changes needs to switch to another VTTBR temporarily to avoid
flush every TLBs.

As it's only needed there, we can restrict the scope where the VTTBR of this
domain is loaded.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c